package cn.bluedot.model;

import java.math.BigInteger;
import java.util.Date;

/**
 * 倍份类
 * 
 * @author hxp 2019年4月19日 下午4:08:26
 */
public class Backup {
    /*
     * 备份ID
     */
    private BigInteger id;
    /*
     * 数据库表名
     */
    private String databaseTable;
    /*
     * 上次备份
     */
    private Date backupTime;
    /*
     * 备份文件名称
     */
    private String backupFilename;
    /*
     * 备份文件存储路径
     */
    private String savePath;
    /*
     * 操作人名称
     */
    private String operateUsername;
    /*
     * 创建时间
     */
    private Date createTime;
    /*
     * 修改时间
     */
    private Date modifyTime;

    public Backup() {
        super();
    }

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    public String getDatabaseTable() {
        return databaseTable;
    }

    public void setDatabaseTable(String databaseTable) {
        this.databaseTable = databaseTable;
    }

    public Date getBackupTime() {
        return backupTime;
    }

    public void setBackupTime(Date backupTime) {
        this.backupTime = backupTime;
    }

    public String getBackupFilename() {
        return backupFilename;
    }

    public void setBackupFilename(String backupFilename) {
        this.backupFilename = backupFilename;
    }

    public String getSavePath() {
        return savePath;
    }

    public void setSavePath(String savePath) {
        this.savePath = savePath;
    }

    public String getOperateUsername() {
        return operateUsername;
    }

    public void setOperateUsername(String operateUsername) {
        this.operateUsername = operateUsername;
    }



    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    @Override
    public String toString() {
        return "Backup [id=" + id + ", databaseTable=" + databaseTable + ", backupTime=" + backupTime
                + ", backupFilename=" + backupFilename + ", savePath=" + savePath + ", operateUsername="
                + operateUsername + ", modifyTime=" + modifyTime + "]";
    }

}
